package com.qk.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qk.domain.clue.ClueCountDO;
import com.qk.domain.clue.ClueDO;
import com.qk.domain.clue.CluePoolDO;
import com.qk.dto.clue.ClueListDTO;
import com.qk.dto.clue.CluePoolDTO;
import com.qk.entity.Clue;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: ZgYn
 * @Date 2025/10/13 16:53
 * @name：ClueMapper
 */
@Mapper
public interface ClueMapper extends BaseMapper<Clue> {
    List<ClueDO> selectByPage(ClueListDTO dto);

    Page<ClueDO> selectByPageMp(Page<Object> page, ClueListDTO dto);

    ClueCountDO selectCountClue();

    List<CluePoolDO> selectPool(Page<Object> page, CluePoolDTO dto);
}
